<template>
  <view></view>
</template>

<script setup>
  import { cityStore } from '@/biz/city'
  import { userStore } from '@/biz/user'

  if (userStore().isLogin) {
    cityStore().update()
    uni.reLaunch({ url: '/pages/index/asset' })
  } else {
    uni.reLaunch({ url: '/pages/user/login' })
  }
</script>
<style lang="scss" scoped></style>
